LPDIRECTSOUNDBUFFER clone_sound(LPDIRECTSOUNDBUFFER buf)
Parameter | Type | Description |
---|---|---|
buf | LPDIRECTSOUNDBUFFER | destination buffer for cloned sound |
Returns the DirectX sound buffer pointer for the cloned sound.
This function clones a sound buffer. Used for playing simultaneous instances of the same sound.